package com.itheima.Test01;
//猫,子类;
public class Cat extends Animal {
    String  name  = "张梓墨";
    public void method(){
        System.out.println("子类的方法");
    }
}
